using System;
using System.Collections.Generic;
using System.Text;

namespace AUSRIS.Reports.Utilities.Deployment.Entities
{
	/// <summary>
	/// represents a file that can be published as a catalog item
	/// </summary>
	public abstract class CatalogFile : DeploymentItem
	{
		#region Private Fields

		private string sourcePath;
		private string revision;

		#endregion

		#region Constructor(s)

		public CatalogFile(string name, Folder parentFolder, string sourcePath) 
			: base(name, parentFolder)
		{
			this.sourcePath = sourcePath;
			this.revision = "";
		}

		#endregion

		#region Properties

		public string SourcePath
		{
			get
			{
				return sourcePath;
			}
			set
			{
				sourcePath = value;
			}
		}

		public string Revision
		{
			get
			{
				return revision;
			}
			set
			{
				revision = value;
			}
		}

		#endregion
	}
}